package com.example.com.skills_utf8;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.WebSettings;
import android.webkit.WebView;

import com.app.BaseActivity;
import com.app.util.Utils_Log;
import com.bean.TalkMessage;
import com.utils.GsonParse;
import com.utils.g;


public class _62_1MoreFragmentMapActivity extends BaseActivity {


    WebView webview;
    TalkMessage.ContentEntity bean ;

    @Override
    public Integer InitLayout() {
        return R.layout.activity__62_1_more_fragment_map;
    }

    @Override
    public void InitView() {

        String str = getIntent().getStringExtra("data");
        bean = (TalkMessage.ContentEntity)GsonParse.parse(str, TalkMessage.ContentEntity.class);



        webview = (WebView)findViewById(R.id.webview);
        WebSettings websetting = webview.getSettings();
        websetting.setJavaScriptEnabled(true);
        websetting.setDomStorageEnabled(true);


        String url = g.SERVER_PAY_HOST + g.SERVER_PAY_API.baidumapdisplay;
        url +="?lo="+bean.getLocation().getLo()+"&la="+bean.getLocation().getLa();
        webview.loadUrl(url);


        Utils_Log.e(TAG, "url: "+url);
    }

    @Override
    public void InitListener() {

    }

    @Override
    public void InitProcess() {


    }






}
